package com.bitinstitute.parkapp.quiz;

import com.bitinstitute.parkapp.R;
import com.bitinstitute.parkapp.helper.Singleton;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
//import android.view.Menu;
import android.view.View;
//import android.view.View.OnClickListener;
import android.widget.Button;
//import android.widget.RadioGroup;
//import android.widget.Toast;

public class QuizActivity extends Activity {

	Button start;
	

	/**
	 * Called when the activity is first created. 
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.startquiz);
		Singleton.getInstance().fillArrayListKorrekt();

		start = (Button) findViewById(R.id.button1);

		start.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				
				
				Intent in = new Intent(QuizActivity.this, Frage1Activity.class);

				startActivity(in);
				finish();

			}
		});

	}

}
